package com.per.mybootall.test;

import cn.hutool.core.util.StrUtil;

import java.util.HashMap;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: yyy
 * Date: 2022/1/19
 * Time: 15:58
 * Description:驼峰命名法与下划线命名法相互转换
 */
public class test12 {
  public static void main(String[] args) {
    String msg01="this_message";
    String msg02="thisMessage";
    System.out.println(StrUtil.toCamelCase(msg01));
    System.out.println(StrUtil.toUnderlineCase(msg02));

    Map paramMap=new HashMap(){{put("a","a");put("b","2");}};
    System.out.println("--------"+paramMap.size());
  }
}
